package com.example.visitor.Impi;

import com.example.visitor.Visitor;

public class VisitorImpi implements Visitor {
    @Override
    public void visit(FootballImpi footballImpi) {
        System.out.println(footballImpi);
    }

    @Override
    public void visit(BasketballImpi basketballImpi) {
        System.out.println(basketballImpi);
    }
}
